import filter.Filter;
import filter.HtmlFilter;
import filter.URLFilter;
import vo.Request;
import vo.Response;

public class FilterTest {
    public static void main(String[] args) {
        Filter<Request, Response> urlFilter = new URLFilter();
        Filter<Request, Response> htmlFilter = new HtmlFilter();
        urlFilter.setNext(htmlFilter);

        Request request = new Request("request");
        Response response = new Response("response");

        urlFilter.doFilter(request,response);
    }
}
